UserHeading

interface UserHeading : Facility

Facility that informs about the user (phone) heading.

Functions

Link copied to clipboard
@FloatRange(from = 0, to = 360)
abstract fun getHeading(): Double
Gets the current user heading, in degrees, in range [0, 360[, relative to the magnetic North.